package com.xxzuibang.day2;

//59是几星期零几天
public class Test1 {
    public static void main(String[] args) {
        int week=59/7;
        System.out.println(week);
        int day=59%7;
        System.out.println(day);
        System.out.println(5.12e2);//512
        System.out.println(5.12e-2);//0.0512
        double sum=2.7;
        double sum1=8.1/3;
        System.out.println(sum1>sum?sum:sum1);//输出2.699999999
//        System.out.println(2.7);
//        System.out.println(8.1/3);

        System.out.println("a"+10+20);//a1020
        int n1=10;
        float d2= (float) ((float) n1+1.1);
        System.out.println(d2);

        int d1=5,d9=10;
        System.out.println("10是偶数："+(d9%2==0));
    }
}
